import request from '@/utils/request.js'

// 活动分类
export function getCateList(param) {
	return request.get(`/urbanl/category/list`, param, {
		noAuth: true
	});
}

// 活动列表
export function getActivityList(param) {
	return request.get(`/urbanl/activity/list`, param, {
		noAuth: true
	})
}

// 活动详情
export function getActivity({
	activityId
}) {
	return request.get(`/urbanl/activity/${activityId}`, {}, {
		noAuth: true
	})
}

// 收藏营地
export function collectActivity(activityId) {
	return request.get(`/urbanl/activityCollect/${activityId}`)
}
